#include "junix.h"
using namespace std;

struct T{};
struct F{};
template<typename T>
struct AA : F{
	int i;
	void f() {
		cout<<"f()\n";
	}
};

template<>
struct AA<int>:T{
	void g() {
		cout<<"g()\n";
	}
};

int main(int argc, char **argv)
{
	AA<char> chara;
	chara.f();

	AA<int> inta;
	inta.g();
}
